﻿@inherits System.Web.Mvc.WebViewPage<Umbraco.Cms.Web.PropertyEditors.UserPicker.UserPickerEditorModel>
@using System.Web.Mvc.Html;
@using Umbraco.Framework;
@using Umbraco.Cms.Web;

@{
	if (Model.UserId != null && !Model.UserId.Value.IsNullValueOrEmpty())
	{
		Model.Users.SelectItems(Model.UserId.ToString());
	}
}
    
@Html.DropDownListFor(x => Model.UserId, Model.Users)